package com.ocom.common.response.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GetZoneDateListResponse {

    @JsonProperty(value = "dayDate")
    @NotBlank(message = "日期类型 不能为空")
    Integer dayDate;

    @JsonProperty(value = "date")
    @NotBlank(message = "date 不能为空")
    String date;

    @JsonProperty(value = "zoneNo")
    @NotBlank(message = "时区号 不能为空")
    Integer zoneNo;

    @JsonProperty(value = "zoneName")
    @NotBlank(message = "时区名 不能为空")
    String zoneName;
}
